<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix='fn' uri='http://java.sun.com/jsp/jstl/functions' %>

<h2>Kungkhers (<em>n</em> = ${fn:length(kungkhers)})</h2>
<p>
<table border="1">
    <tr align="left"><th>Username</th><th>Full name</th><th>Date registered</th></tr>
<c:forEach items="${kungkhers}" var="kungkher">
    <tr>
        <td><c:out value="${kungkher.kungkherName}"/></td>
        <td><c:out value="${kungkher.fullName}"/></td>
        <td><fmt:formatDate value="${kungkher.dateRegistered}" pattern="EEE d MMM yy"/></td>
    </tr>
</c:forEach>
</table>
</p>